﻿public class GameComponent : IGameComponent
{
    protected GameActor gameActor;

    public IGameActor GetActor()
    {
        return gameActor;
    }

    public void SetActor(GameActor gameActor)
    {
        this.gameActor = gameActor;
    }

    public virtual void UpdateComponent(float deltaTime)
    {
        
    }

    public virtual void Destroy()
    {
        
    }
}